package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialBorrowRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialBorrowPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialBorrowDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialBorrowDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialBorrowDomainImpl extends BaseDomainImpl<ContractInitialBorrowDto, ContractInitialBorrowPo> implements ContractInitialBorrowDomain {

    @Resource
    private ContractInitialBorrowRepository contractInitialBorrowRepository;

    @Override
    public BaseRepository<ContractInitialBorrowPo> getMapper() {
        return contractInitialBorrowRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialBorrowPo>> getRepositoryClass() {
        return ContractInitialBorrowRepository.class;
    }

}
